package com.panshi.mapper;

import com.panshi.vo.PageSizeVO;
import com.panshi.vo.QuestionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QuestionMapper {

    //删除提问
    void deleteQue(int qid);

    //查询提问
    List<QuestionVO> findQueQuery(PageSizeVO pageSizeVO);

    List<QuestionVO> findQuerQuery(PageSizeVO pageSizeVO);

    void updatequeNo(@Param("qid_no") int qid_no);

    Integer queryquestioncount(@Param("uid") int uid);

    Integer queryquestionnocount(@Param("uid") int uid);

}
